<template>
    <div>
        <el-form label-width="85px">
            <el-form-item label="广告标题：">
                {{advData.title}} 
            </el-form-item>
            <el-form-item label="广告图：">
                <img :src="advData.picture" style="width: 80px;height: 80px">
            </el-form-item>
            <el-form-item label="跳转地址：">
                {{advData.refUrl}}
            </el-form-item>
            <el-form-item label="排序：">
                {{advData.priority}}
            </el-form-item>
            <el-form-item label="创建时间：">
                {{advData.createTime}}
            </el-form-item>

        </el-form>
        <div slot="footer" class="dialog-footer">
            <el-button type="default" @click="delModals" size='small' style="margin-left: 45%;margin-top: 30px">返回</el-button>
        </div>
    </div>
</template>
<script>
    export default{
        data(){
            return{

            }
        },
        props: {
            advData:{
                type:Object,
                default:{},
            }
        },
        methods:{
            delModals(){
                this.$emit('delModals')
            },
        },
        mounted () {
            //console.log(this.advData)
        }
    }
</script>
<style>

</style>
